import request from '../util/request.js'
import { useUserStore } from '../stores/user'
const userStore = useUserStore()
const token = userStore.getToken()
// 获取座位信息
export const getSeatInfo = () =>
  request.get('/seat/seatinfo', {
    headers: {
      Authorization: token
    }
  })
// 获得座位预约信息
export const getSeatreservationInfo = () =>
  request.get('/seat/reservation', {
    headers: {
      Authorization: token
    }
  })
